package club.xyes.zkh.ecommerce.common.context;

import java.time.ZoneId;

/**
 * Create by 郭文梁 2019/4/15 0015 15:03
 * ApplicationConstants
 * 系统常量
 *
 * @author 郭文梁
 * @data 2019/4/15 0015
 */
public class ApplicationConstants {
    /**
     * 默认时区
     */
    public static final ZoneId DEFAULT_TIMEZONE = ZoneId.systemDefault();

    /**
     * 上下文 系统常量
     */
    public static class Context {
        /**
         * Mapper组建所在的包名
         */
        public static final String MAPPER_PACKAGE = "club.xyes.zkh.ecommerce.dao.mapper";
        /**
         * 控制器(API)所在的包
         */
        public static final String CONTROLLER_PACKAGE = "club.xyes.zkh.ecommerce.controller";
    }

    public static class Security {
        /**
         * 权限分隔符
         */
        public static final String AUTHORITY_DELIMITER = ",";
    }
}
